package io.renren.modules.student.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.student.entity.PunchEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @author guijing
 * @email sunlightcs@gmail.com
 * @date 2022-02-24 21:39:53
 */
public interface PunchService extends IService<PunchEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PunchEntity getTodayPunch(PunchEntity entity);

    IPage<Map<String, Object>> getStudentList(@Param("page") Page<Map<String, Object>> page, @Param("params") Map<String, Object> params);

    IPage<Map<String, Object>> getAllStudentList(@Param("page") Page<Map<String, Object>> page, @Param("params") Map<String, Object> params);

}

